package com.koron.configure.dockingconf.mapper;

import com.koron.configure.dockingconf.bean.DockingDetBean;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author: rocky
 * @Date: 2021/11/22 17:47
*/
public interface DockingDetMapper {
    int deleteByPrimaryKey(String id);

    int insert(DockingDetBean record);

    int insertOrUpdate(DockingDetBean record);

    int insertOrUpdateSelective(DockingDetBean record);

    int insertSelective(DockingDetBean record);

    DockingDetBean selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(DockingDetBean record);

    int updateByPrimaryKey(DockingDetBean record);

    int updateBatch(List<DockingDetBean> list);

    int updateBatchSelective(List<DockingDetBean> list);

    int batchInsert(@Param("list") List<DockingDetBean> list);

    int deleteByDockingId(@Param("dockingId")String dockingId);

    List<DockingDetBean> queryByDockingId(@Param("dockingId")String dockingId);

    int deleteByParentId(@Param("parentId")String parentId);

    List<DockingDetBean> queryAllByParentId(@Param("parentId")String parentId);

//    List<DockingDetBean> queryInParentId(@Param("parentIds") List<String> parentIds, @Param("displayFlag") Boolean displayFlag);

    List<DockingDetBean> queryInDockingId(List<String> parentIds);

    List<DockingDetBean> queryAll();



}
